<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>01体验angularjs</title>
</head>
<body ng-app="app">
    <input type="text" ng-model="name">
    <h2>{{name}}</h2>
</body>
<script src="libs/angular.min.js"></script>
<script>
    var app = angular.module('app',[]);
</script>
</html>